import {
  IsNotEmpty,
  IsString,
  IsOptional,
  IsEnum,
  IsEmail,
  IsMobilePhone,
  IsNumber,
} from 'class-validator';
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { Transform, Expose, Exclude } from 'class-transformer';

export class TaskDto {

  @ApiPropertyOptional({
    description: '描述'
  })
  @IsOptional()
  readonly description?: string;

}